<template>
  <div id="app">
    <!--渲染的内容-->
    <router-view></router-view>
    <!--底部的导航-->
    <NavBottom v-show="shownav"></NavBottom>
  </div>
</template>

<script>

import NavBottom from './components/NavBottom';
import {mapGetters} from 'vuex';
export default {
  name: 'App',
  data(){
    return {
      //name:obj
    }
  },
  components: {
    NavBottom
  },
  computed:mapGetters(['shownav'])
}

</script>

<style>
@import './assets/css/index.css';
</style>
